import request from '#/utils/requestAbort.js';
import type { IApplyType } from './type';

// 查询交易单元数据权限配置列表
export async function postQueryConfigStationPower(params: any) {
  return request('/configuration/stationPowerConfig/queryConfigStationPower', {
    method: 'POST',
    data: params,
  });
}
// 交易单元数据权限配置接口
export async function postSaveConfigStationPower(params: IApplyType) {
  return request('/configuration/stationPowerConfig/saveConfigStationPower', {
    method: 'POST',
    data: params,
  });
}
